<?php


namespace app\common\model\integral;


use app\common\model\BaseModel;

class GoodsSpecRel extends BaseModel
{
    protected $name = 'integral_goods_spec_rel';
    protected $updateTime = false;

    /**
     * 关联规格组
     * @return \think\model\relation\BelongsTo
     */
    public function spec()
    {
        return $this->belongsTo('Spec');
    }
}